home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds / hard-params.man < prev    next >
Text File  |  1990-08-09  |  2KB  |  49 lines

  1. '\" Copyright 1990 Regents of the University of California
  2. '\" Permission to use, copy, modify, and distribute this
  3. '\" documentation for any purpose and without fee is hereby
  4. '\" granted, provided that this notice appears in all copies.
  5. '\" The University of California makes no representations about
  6. '\" the suitability of this material for any purpose.  It is
  7. '\" provided "as is" without express or implied warranty.
  8. '\" 
  9. '\" $Header: /sprite/src/cmds/hard-params/RCS/hard-params.man,v 1.1 90/08/09 16:39:38 kupfer Exp $ SPRITE (Berkeley)
  10. '/" 
  11. .so \*(]ltmac.sprite
  12. .HS PROGNAME cmds
  13. .BS
  14. '\" Note:  do not modify the .SH NAME line immediately below!
  15. .SH NAME
  16. hard-params \- Describe the hardware being run on
  17. .SH SYNOPSIS
  18. \fBhard-params \fR [\fIoptions\fR] 
  19. .SH OPTIONS
  20. .IP "\fB\-l" 15
  21. Print a series of #define's for
  22. the ANSI standard 
  23. .B limits.h 
  24. include file, excluding \fBMB_MAX_CHAR\fR.
  25. .IP "\fB\-f" 15
  26. Print a series of #define's for the ANSI standard
  27. .B float.h 
  28. include file.  
  29. .IP "\fB\-v" 15
  30. Print a verbose prose description of the machine.  When combined with
  31. either of the other two options, the prose is embedded in C comments.
  32. .BE
  33.  
  34. .SH DESCRIPTION
  35. .PP
  36. .B hard-params
  37. determines characteristics about the machine it is run on, such as the
  38. number of bytes in an \fBint\fR, the byte order, and the floating point
  39. format.  It displays them either as English text or as C code.
  40. .PP
  41. .B hard-params
  42. also checks for bugs in 
  43. .B printf
  44. and \fBscanf\fR,
  45. and it checks for compiler bugs like botched casts.
  46.  
  47. .SH KEYWORDS
  48. characteristics, hardware, header, ANSI, tests
  49.